import request from '@/utils/request';

export function login(data) {
    return request({
        url: '/login/index',
        method: 'post',
        data
    })
}
/**
 * 
 * @param {退出} data 
 */
 export function LogOut() {
    return request({
        url: '/login/logout',
        method: 'get',
    })
}
/**
 * 
 * @param {退出} data 
 */
export function getUserInfo() {
    return request({
        url: '/owner/profile',
        method: 'get',
    })
}